Masteriyo\Addons\RevenueSharing\RevenueSharingAddon S

Total Complexity 22
Dependencies 7
Dependents 1
Total lines 261
Lines of code 127
Logical lines of code 71
Comment lines 96
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
create_earning()
S
47 5 36
append_withdraw_data_to_response()
S
57 2 17
update_earnings()
S
58 2 16
init_hooks()
S
59 2 13
localize_public_scripts()
S
67 2 7
save_user_withdraw_data()
S
70 2 6
__construct()
S
81 1 3
init()
S
78 1 4
localize_admin_scripts()
S
74 1 4
is_revenue_sharing_enabled()
S
79 1 3
register_rest_namespaces()
S
76 1 4
add_withdraw_submenu()
S
65 1 9
register_post_types()
S
73 1 5